package com.poe.mapperDao.read.user;


import com.poe.entity.User;
import org.springframework.stereotype.Repository;


@Repository(value = "readUserDao")
public interface ReadUserDao {
	/**
	 * 根据id查用户
	 * @return
	 * ,@Param("userId")String userId 参数
	 */
	User login(User user);

	/**
	 * 根据用户名查询数据库是否有这个用户名
	 * @param userName
	 * @return
	 */
	User findUserName(String userName);
}
